﻿using System.Xml.Serialization;

namespace HamcoWcs.Models.TibcoMessage
{

    [XmlRoot("MESSAGE")]
    public class PalletLocationChangedMessage : BaseTibcoMessage<PalletLocationChangedMessageBody>
    {
        public PalletLocationChangedMessage()
        {

        }
        public PalletLocationChangedMessage(PalletLocationChangedMessageBody body, string inboxName = "", string listener = "") : base("PalletLocationChanged", body, inboxName, listener)
        {
        }
    }


    public class PalletLocationChangedMessageBody : PalletTransportJobStartedMessageBody
    {
        public PalletLocationChangedMessageBody()
        {
        }

        [XmlElement("REASONCODE")]
        public string ReasonCode { get; set; }
    }
}
